Skip to content

breaking: Remove /open-stack-frame and /open-url from cli-server-api - #2875

Merged
thymikee merged 1 commit into
mainfrom
pr2875
Nov 12, 2026
Merged

thymikee merged 1 commit into
mainfrom
pr2875

Conversation

@huntie

@huntie huntie commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Context

Migration of the remaining core dev server endpoints from @react-native-community/cli-server-api into core (community-cli-plugin).

See https://github.com/react/react-native/stack/59664.

This diff

Clean up intended to pair with react/react-native#59316, migrating these endpoints into core. Must land in the same React Native version, and is breaking on the CLI side.

Test Plan

yarn build
yarn lint
yarn test packages/cli-server-api

✅ Clean; the one lint warning is in a file this change does not touch.

With this cli-server-api linked into RNTester's Metro running react/react-native#59316:

  • ✅ curl -X POST /open-stack-frame for a file in the repo answered 200 with core's OK body and launched $REACT_EDITOR with the file.
  • ✅ curl -X POST /open-url with a file: URL answered 400 with core's body, and with an http://localhost URL answered 200 and opened the browser.

Checklist

  • Documentation is up to date.
  • Follows commit message convention described in CONTRIBUTING.md.
  • For functional changes, my test plan has linked these CLI changes into a local react-native checkout (instructions).

@huntie huntie changed the title breaking: Remove /open-stack-frame from cli-server-api breaking: Remove /open-stack-frame and /open-url from cli-server-api Oct 29, 2026
@huntie
huntie added this pull request to stack #2878 October 30, 2026 11:12
@huntie huntie mentioned this pull request Oct 30, 2026
3 tasks done
@huntie
huntie marked this pull request as ready for review November 10, 2026 12:39
@huntie
huntie requested a review from thymikee as a code owner November 10, 2026 12:39
@thymikee
thymikee merged commit 01db896 into main Nov 12, 2026
11 of 23 checks passed
@thymikee
thymikee deleted the pr2875 branch November 12, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants